Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

754
Vistas
Error: Could not find matching close tag for "<%=" in ejs route

I am getting this error when using .ejs routes and it doesn't seem to come from the code but from the ejs pack

Error: Could not find matching close tag for "<%=".
at E:\...\Main\node_modules\ejs\lib\ejs.js:740:19
at Array.forEach (<anonymous>)
at Template.generateSource (E:\...\Main\node_modules\ejs\lib\ejs.js:730:15)
at Template.compile (E:\...\Main\node_modules\ejs\lib\ejs.js:585:12)
at Object.compile (E:\...\Main\node_modules\ejs\lib\ejs.js:396:16)
at handleCache (E:\...\Main\node_modules\ejs\lib\ejs.js:233:18)
at tryHandleCache (E:\...\Main\node_modules\ejs\lib\ejs.js:272:16)
at View.exports.renderFile [as engine] (E:\...\Main\node_modules\ejs\lib\ejs.js:489:10)
at View.render (E:\...\Main\node_modules\express\lib\view.js:135:8)
at tryRender (E:\...\Main\node_modules\express\lib\application.js:640:10)

I tried checking where the error occured but it is not very clear to me as I am new to coding. If it can help, here is where I use the <%= %>

    <img src="<%= profile.data[0].stats.rank.metadata.iconUrl %>" alt="<%= profile.data[0].stats.rank.metadata.tierName %>" style="height:4rem;width:4rem;margin-right:.5rem;">
<div>
  <span class="valorant-highlighted-stat__label">
    <%= profile.data[0].stats.rank.displayName %>
  </span><br>
  <span class="valorant-highlighted-stat__value">
    <%= profile.data[0].stats.rank.metadata.tierName %>
  </span>
</div>    
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

try <%- profile.data[0].stats.rank.displayName %> - instead of =

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda